<figure class="image image-style-align-right">
  <img style="aspect-ratio:265/108;" src="Text Snippets_image.png" width="265"
  height="108">
</figure>
<aside class="admonition note">
  <p>This is a premium feature of the editor we are using (CKEditor) and we
    benefit from it thanks to an written agreement with the team. See&nbsp;
    <a
    class="reference-link" href="#root/_help_gLt3vA97tMcp">Premium features</a>&nbsp;for more information.</p>
</aside>
<p>Text Snippets are closely related to&nbsp;<a class="reference-link" href="#root/_help_KC1HB96bqqHX">Templates</a>,
  but instead of defining the content of an entire note, text snippets are
  pieces of formatted text that can easily be inserted in a text note.</p>
<h2>Creating a text snippet</h2>
<p>In the&nbsp;<a class="reference-link" href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>: </p>
<ol>
  <li>Right click a note where to place the text snippet.</li>
  <li>Select <em>Insert child note</em>.</li>
  <li>Select <em>Text snippet</em>.</li>
</ol>
<p>Afterwards, simply type in the content of the note the desired text. The
  text can be formatted in the same manner as a normal text note.</p>
<p>The title of the note will become the title of the template. Optionally,
  a description can be added in the&nbsp;<a class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;section.</p>
<h2>Inserting a snippet</h2>
<p>Once a snippet is created, there are two options to insert it:</p>
<ol>
  <li>From the&nbsp;<a class="reference-link" href="#root/_help_nRhnJkTT8cPs">Formatting toolbar</a>,
    by looking for the
    <img src="1_Text Snippets_image.png" width="19" height="19">button.</li>
  <li>Using&nbsp;<a class="reference-link" href="#root/_help_ZlN4nump6EbW">Slash Commands</a>: 
    <ol>
      <li>To look for a specific template, start typing the name of the template
        (its title).</li>
      <li>To look for all the templates, type <code>template</code>.</li>
    </ol>
  </li>
</ol>
<aside class="admonition tip">
  <p>A newly created snippet doesn't appear? Generally it takes up to a few
    seconds to refresh the list of templates once you make a change.</p>
  <p>If this doesn't happen, <a href="#root/_help_s8alTXmpFR61">reload the application</a> and
    <a
    href="#root/_help_wy8So3yZZlH9">report the issue</a>to us.&nbsp;</p>
</aside>
<h2>Limitations</h2>
<ul>
  <li>Whenever a snippet is created, deleted or its title/description are modified,
    all the open text notes will need to be refreshed. This causes a slight
    flash for usually under a second, but it can cause some discomfort.</li>
  <li>Unlike&nbsp;<a class="reference-link" href="#root/_help_KC1HB96bqqHX">Templates</a>,
    the snippets cannot be limited to a particular <a href="#root/_help_9sRHySam5fXb">workspace</a>.</li>
</ul>